package com.cskaoyan.utils;

public enum OrderStatus {
    UN_PAID((short) 101,"未付款"),
    USER_CANCEL((short) 102,"已取消"),
    SYSTEM_CANCEL((short) 103,"已取消(系统)"),
    PAID((short) 201,"已付款"),
    APPLY_REFUND((short) 202,"申请退款"),
    REFUNDED((short) 203,"已退款"),
    SHIPPED((short) 301,"已发货"),
    USER_RECEIVED((short) 401,"已收货"),
    SYSTEM_RECEIVED((short) 402,"已收货(系统)"),
    COMMENTED(((short) 501),"已评价");

    private Short code;

    private String msg;

    OrderStatus() {
    }

    OrderStatus(Short code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Short getCode() {
        return code;
    }

    public void setCode(Short code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
